﻿<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint" Title="Comments" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/Comments" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    <ContentTypes>
      <ContentType ID="0x01964B0BFBE27643A8B2B938BBA2532E74" Name="Comments" Group="Portal" Inherits="FALSE" Overwrite="TRUE" Version="0">
        <FieldRefs>
          <FieldRef ID="{DA4A0AA5-3BCA-4933-A226-597DC72C5BAF}" Name="Title" Required="TRUE" DisplayName="Title"/>
          <FieldRef ID="{CA5E5219-83BD-44DA-90CC-61D679C8BF83}" Name="LinkTitle" DisplayName="LinkTitle"/>
          <FieldRef ID="{10E2E74D-C604-43A7-BDC9-8B0B70CE0A18}" Name="LinkTitleNoMenu" DisplayName="LinkTitleNoMenu"/>
          <FieldRef ID="{B324F916-3436-4ECC-B240-35A82E3BAB3A}" Name="CommentID" DisplayName="CommentID"/>
          <FieldRef ID="{4F45434F-B3D3-47CA-AA2C-1F1C4AD35A71}" Name="CommentBody" DisplayName="CommentBody"/>
          <FieldRef ID="{5F53527D-6073-4ED5-ABEE-5344C8799000}" Name="Commenter" DisplayName="Commenter"/>
        </FieldRefs>

      </ContentType>

    </ContentTypes>

    <Fields>
      <Field ID="{DA4A0AA5-3BCA-4933-A226-597DC72C5BAF}" Type="Text" Name="Title" DisplayName="Title" Required="TRUE" Indexed="TRUE"></Field>
      <Field ID="{B324F916-3436-4ECC-B240-35A82E3BAB3A}" Type="Lookup" Group="Portal"  Name="CommentID" ShowInEditForm="TRUE" ShowInNewForm="TRUE" DisplayName="CommentID" List="Lists/AllPosts" ShowField="ID"></Field>
      <Field ID="{4F45434F-B3D3-47CA-AA2C-1F1C4AD35A71}" Type="Note" Name="CommentBody" DisplayName="CommentBody"></Field>
      <Field ID="{5F53527D-6073-4ED5-ABEE-5344C8799000}" Type="User" Name="Commenter" DisplayName="Commenter"></Field>
    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitleNoMenu"></FieldRef>
          <FieldRef Name="CommentID"></FieldRef>
          <FieldRef Name="CommentBody"></FieldRef>
          <FieldRef Name="Commenter"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/15/images/generic.png?rev=23" Url="AllItems.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <JSLink>clienttemplates.js</JSLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="CommentID"></FieldRef>
          <FieldRef Name="CommentBody"></FieldRef>
          <FieldRef Name="Commenter"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="ID"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>